<?php

header('Content-type: application/vnd.ms-excel');
header("Content-Disposition: attachment; filename=file.xls");
header("Pragma: no-cache");


$buffer = $_POST['csvBuffer'];
try{
	echo $buffer;
}catch(Exception $e){

}

?>